<include file="Public:header"/>
<body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
    <include file="Public:nav"/>
    <div class="h_a">搜索</div>
    <form method="post" action="{:U('Automatic/index')}">
        <input type="hidden" value="1" name="search">
        <div class="search_type cc mb10">
            <div class="mb10">
        <select class="select_2" name="type">
            <option value="1" <eq name="type" value="1">selected</eq>>烘焙作品</option>
            <option value="2" <eq name="type" value="2">selected</eq>>随拍作品</option>
            <option value="3" <eq name="type" value="3">selected</eq>>参考作品</option>
            <option value="4" <eq name="type" value="4">selected</eq>>新闻文章</option>
            <option value="5" <eq name="type" value="5">selected</eq>>活动文章</option>
            <option value="6" <eq name="type" value="6">selected</eq>>导师文章</option>
        </select>
        关键字：
        <input type="text" class="input length_2" name="keyword" style="width:200px;" value="{$_GET.keyword}" placeholder="请输入关键字...">
        <button class="btn">搜索</button>
        </span>
            </div>
        </div>
    </form>
    <form name="myform" action="" method="post" class="J_ajaxForm">
    <div class="table_list">
        <table width="100%">
            <thead>
            <tr>
                <td width="10%">作者名</td>
                <td width="20%">标题</td>
                <td width="10%">时间</td>
                <td width="15%">管理操作</td>
            </tr>
            </thead>
            <foreach name="list" item="vo">
                <tr>
                    <td>{$vo.userid|getNickName}</td>
                    <td><a href="{$vo.url}" target="_blank">{$vo.title}</a></td>
                    <td>{$vo.create_time|date="Y-m-d H:i:s", ###}</td>
                    <td>
                        <a href="{:U('Automatic/addauto', array('type' => $type, 'id' => $vo[temp_id]))}">添加智能</a>
                        <a href="{:U('Automatic/addcomment', array('type' => $type, 'id' => $vo[temp_id]))}">添加浏览量</a>
                    </td>
                </tr>
            </foreach>
        </table>
        <div class="p10"><div class="pages"> {$Page} </div> </div>
        <div class="btn_wrap">
            <div class="btn_wrap_pd">
            </div>
        </div>
    </div>
</div>
</form>
</div>
<script src="__JS__/common.js"></script>
</body>
</html>